#include "ScanningGroupAction.h"

ScanningGroupAction::ScanningGroupAction(ArRobot* robot):ArActionGroup(robot){
	scanArea = new Scanning();
	evitaostfront=new ArActionAvoidFront("evita gli ostacoli",300,30,10);
	evitalaterale= new ArActionAvoidSide("evita ostacolo laterale",300,10);
	addAction(evitaostfront,100);
	addAction(evitalaterale,100);
	addAction(scanArea,60);

}

ScanningGroupAction::~ScanningGroupAction(){
	delete(scanArea);
	delete(evitaostfront);
	delete(evitalaterale);
}
